﻿<% @ Page Language="C#" MasterPageFile="~/MasterPage.master" CodeFile="Logon.aspx.cs" Inherits="Logon" Title="登录输一下，我们帮你侦听八方" %>
<% @ MasterType VirtualPath="~/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content1" Runat="Server">
    <div id="content" class="w800">
        <ul class="tablist fd-clr">
            <li class="current">
                <div class="edge">
                </div>
                <div class="content">
                    <h2>
                        用户登录</h2>
                </div>
            </li>
        </ul>
      <div id="content-tab" class="tab-part fd-clr ">
            <div class="form-part">
                <table>
                    <tr>
                        <td class="col1">
                                用户名
                        </td>
                        <td class="col2">
                            <asp:TextBox ID="LoginIdTextBox" class="text" runat="server" ValidationGroup="test" CausesValidation="true">
                            </asp:TextBox>
                        </td>
                        <td class="col3">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="LoginIdTextBox"
                                ValidationGroup="test" Display="Dynamic" ErrorMessage="不能为空" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="col1">
                            密码
                        </td>
                        <td class="col2">
                            <asp:TextBox ID="PasswordTextBox" runat="server" class="text" TextMode="Password">
                            </asp:TextBox>
                        </td>
                        <td class="col3">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="test" ControlToValidate="PasswordTextBox"
                                Display="Dynamic" ErrorMessage="不能为空" runat="server" />
                        </td>
                    </tr>
                </table>
                <div class="agreement">
                    <asp:CheckBox ID="Persist" Checked="true" Text="记住登录状态" runat="server" />
                </div>
                <asp:Button ID="Submit1" runat="server" class="submit" OnClick="Logon_Click" Text="登录"
                    CausesValidation="true" ValidationGroup="test" 
                    style="margin:14px 0 0 128px;border:none;outline:none;display:block;cursor:pointer;text-indent:-100000px;width:90px;height:29px;line-height:28px;background:url('./Pics/login.png') no-repeat;"/>
                <asp:Label ID="Msg" ForeColor="red" runat="server" />
            </div>
            <div class="info-part">
                <dl>
                    <dt><font color="#f86515"></font>您也可以通过以下方式登录</dt>
                    <dd>
                        <a href = "SignInSina.aspx"><asp:Image ID="Image3" ImageUrl="./pics/sina_weibo_login.png" runat="server" /></a>
                    </dd>
                    <dd>
                        <a href = "SignInSina.aspx"><asp:Image ID="Image1" ImageUrl="./pics/qq_login.png" runat="server" /></a></dd>
                    <dd>
                        腾讯微博</dd>
                    <dd>
                        百度</dd>
                </dl>
            </div>
       </div>
    </div>
</asp:Content>